package com.sixth.bean.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author Chen
 * @Date 2022-09-07  22-34-38
 * @param
 * @return {@link null }
 * @description 新增优惠券
 */
@Data
public class AddCouponBO {

    Integer id;
    Short days;
    String desc;
    BigDecimal discount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    Short goodsType;
    Integer[] goodsValue;
    Short limit;
    BigDecimal min;
    String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startTime;
    Short status;
    String tag;
    Short timeType;
    Integer total;
    Short type;

}
